<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="t" tagdir="/WEB-INF/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<c:forEach var="message" items="${sentMessagesList}">
	<ul>
		<li id="messageHead">Recipients: ${message['sent_to']}</li>
		<li id="messageHead">Object: ${message['object'] } Date: ${message['date'] }</li>
		
		<li>
			<details>
				<summary>Show message</summary>
				<textarea readonly="readonly" rows="10">${message['text']}</textarea>
			</details>
		</li>
	</ul>
</c:forEach>
	

